package Users;

/**
 * @author Myhaylo Kotsyuruba
 * @version v.   22.02.13
 */
public class UserAnswer {
    private String userAnswer;
    private int userScore;
    private int maxScore;

    public UserAnswer(String userAnswer, int userScore, int maxScore) {
        this.userAnswer = userAnswer;
        this.userScore = userScore;
        this.maxScore = maxScore;
    }

    public String toString() {
        return String.format("%s%n   Your score: %d of %d", userAnswer, userScore, maxScore);
    }
}
